package sample.dto;

import java.io.Serializable;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@SuppressWarnings("serial")
@PersistenceCapable(identityType = IdentityType.APPLICATION,detachable="true")
public class Child implements Serializable {
	
	@PrimaryKey
	@Persistent
	private Key ChildKey;
	@Persistent
	private String ChildValue1;
	@Persistent
	private String ChildValue2;
	
	public Child(){
	}
	
	public Child(Key childKey, String childValue1, String childValue2) {
		ChildKey = childKey;
		ChildValue1 = childValue1;
		ChildValue2 = childValue2;
	}
	
	public Key getChildKey() {
		return ChildKey;
	}
	public void setChildKey(Key childKey) {
		ChildKey = childKey;
	}
	public String getChildValue1() {
		return ChildValue1;
	}
	public void setChildValue1(String childValue1) {
		ChildValue1 = childValue1;
	}
	public String getChildValue2() {
		return ChildValue2;
	}
	public void setChildValue2(String childValue2) {
		ChildValue2 = childValue2;
	}
}
